package com.cloud.pole.shop.model.entity.order;

import java.io.Serializable;
import java.util.Date;
import javax.persistence.Column;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;
import org.hibernate.validator.constraints.NotEmpty;

import lombok.Data;

/**
 * @author 
 */
@Table(name="shop_order_refund_detail")
@Data
public class ShopOrderRefundDetail implements Serializable {
	 /**
     * 用户类型（1：买家 2：卖家）
     */
	public static final int USER_TYPE_BUYER = 1;
	public static final int USER_TYPE_SELLER = 2;
	
	
    @Id
    @Column(name="detail_id")
    private Long detailId;

    /**
     * 退单id
     */
    @Column(name="refund_id")
    private Long refundId;

    /**
     * 用户类型（1：买家 2：卖家）
     */
    @Column(name="user_type")
    private Integer userType;

    /**
     * 时间
     */
    @Column(name="create_time")
    private Date createTime;

    /**
     * 说明
     */
    @Column(name="content")
    private String content;
    
    /**
     * 标题
     */
    @Column(name="title")
    private String title;
    
   
    private static final long serialVersionUID = 1L;
}